This demo shows off the tinting and translucency functionality in Brian's Extensions. Move the cursor to move around the light source, the explosion. The diamonds will bounce and their light level is affected by the light level of the tile they are over. Light fades slowly away as the light source is moved. The great Playstation game "Legacy of Kain" was the inspiration for this simple but effective technique.
Hitting the space bar will step through the various levels of translucency, from
lightly translucent to fully opaque. Note that translucency will only run properly in 256 or thousands of colors. + and - will raise and lower the ambient light. The 'L' key will toggle between the size of the light.
Several parameters at the top of "Lighting Demo.c" can be tweaked to try out different effects.
Note if translucency doesn't seem to work (hitting the space bar keeps things opaque), it means that it didn't have enough memory to load the translucency table. Up the memory in the Get Info box for the application (this would only happen on really big monitors).
Note: the fps report given at the end of the demo is unrealistic, since all of the Sprites have frameTimes that keep them from moving too fast. So even if 100fps is reported at the end of the demo, that doesn't mean each sprite moved every frame.